package com.jingfu.elastic.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
//@AllArgsConstructor
//@NoArgsConstructor
//@Document(indexName = "goods", type = "docs", shards = 3, replicas = 1)
public class Goods {
//    @Id
//    private Long id;
//    @Field(type = FieldType.Text, analyzer = "ik_max_word")
//    private String title; //标题
//    @Field(type = FieldType.Keyword)
//    private String category;// 分类
//    @Field(type = FieldType.Keyword)
//    private String brand; // 品牌
//    @Field(type = FieldType.Double)
//    private Double price; // 价格
//    @Field(type = FieldType.Keyword, index = false)
//    private String images; // 图片地址
    // 。。。略
}